package com.lrh.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lrh.reggie.common.R;
import com.lrh.reggie.dto.OrdersDto;
import com.lrh.reggie.entity.Orders;

public interface OrdersService extends IService<Orders> {

    //订单分页查询
    public Page<Orders> getAllPage(int page, int pageSize, Long number, String beginTime, String endTime);

    //修改订单状态
    public void updateStatus(Integer status, Long id);

    //个人信息页的订单查询
    public Page<OrdersDto> getPage(int page, int pageSize);

    //用户下单
    public void submit(Orders orders);

    //再来一单
    public void againOrder(Orders orders);

}
